trying to fix the modal screen app bug