Remove state checks from get_image_from_disk. Now they are done in set_saveas_state