Actually connect the "Dismiss" button.
Create a signal-using return filter.

The existing two could be coalesced into one by using appropriately
connected signals. So create a suitably signally one.
Connect the login window to the return filter.