Cannot Close Dialog Box on Login Screen

I need a new user create screen. When It pops up… it works fine… but when I close it it gets stuck on …

This is all im doing.
@Subscribe(“btnResetPassword”)
public void onBtnResetPasswordClick(Button.ClickEvent event) {
screenBuilders.screen(this).withOpenMode(OpenMode.DIALOG).withScreenClass(RestablecerContrasena.class).build().show();
}

I Get:

Caused by: java.lang.IllegalStateException: RootWindow does not have any configured work area
at com.haulmont.cuba.web.sys.WebScreens.getConfiguredWorkArea(WebScreens.java:966) ~[cuba-web-7.2.11.jar:7.2.11]
at com.haulmont.cuba.web.sys.WebScreens.checkOpened(WebScreens.java:578) ~[cuba-web-7.2.11.jar:7.2.11]
at com.haulmont.cuba.web.sys.WebScreens.remove(WebScreens.java:658) ~[cuba-web-7.2.11.jar:7.2.11]
at com.haulmont.cuba.gui.screen.Screen.close(Screen.java:340) ~[cuba-gui-7.2.11.jar:7.2.11]
at com.haulmont.cuba.web.gui.components.WebDialogWindow.onCloseButtonClick(WebDialogWindow.java:137) ~[cuba-web-7.2.11.jar:7.2.11]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:496) ~[vaadin-server-8.9.2-17-cuba.jar:8.9.2-17-cuba]
… 43 common frames omitted

Hello,

I believe this is the same problem as described here: Tried implementing the Restore password but getting error - CUBA.Platform.

We have the task cuba-platform/cuba#3145 to fix this problem.