Fixed closing login dialog on backdrop clicks and escape pressed.

6 jobs for v0.5.0-markus in 21 minutes and 41 seconds (queued for 2 seconds)