Dialog - File: Fixed disabled button in some instances