dismiss 'Opening file' dialog once reader view is ready

This should fix #1155.