With multiple modeless WDialogs open, only the top one can be closed with the escape key
When multiple modeless (non-modal) WDialogs are open, only the top one can be closed with an escape key; any remaining WDialogs are unaffected by further presses of the escape key.
The attached test program can be used to demonstrate the issue. It has been tested with Wt 3.3.3-22-g00f113f.
There is also an attached patch which seems to help with the issue. The attached patch also dismisses reordered WDialog windows in the expected order. Reordering is possible with Wt's recent support for raising WDialogs by clicking on their titlebars. Please note that this patch has only had limited testing.