Close buttons/close file work