shell: hides empty error box entering realm window

Fixes #935
Closes #939
Reviewed-by: Stef Walter <stefw@redhat.com>