fix/ prevent remove button from overriding behavior of view button

The view button was also hiding the file.