shell: Clear storage dialogs on enter.

Fixes #1218