Added code to ensure that disk resource view main contents are shown after close/reopen