Files dialog button state fixes

Also fixed files container read only state