Desensitize view current input files button if model isn't saved

I added CSS rules and a check in the click event handler for the button.
Change icon on view input files button