Key release is not delivered to application when it was directed to dialog.
In a simple example, MainWindow + Dialog opened from main window, we never get KeyRelease event for ESC key, because it is also destroying dialog I suspect. The same problem is with Enter key when it closes the dialog. However, I would expect Weston to deliver the event to the MainWindow instead. Is this a design choice?