Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Resolved
-
2.0.0-M7
-
None
Description
Pressing X in header of the modal dialog does not remove the panel from nestedPanelStack in ModalDialog. This causes a strange behaivor: pressing X closes the dialog, but opening again, we have to press the Cancel button 2 times. Maybe ModalDialog should have a closehandler. (Modal.setUseCloseHandler(true), and override onClose) In this case onClose occurs when X is pressed and when Cancel/Ok is pressed either.