Enables auto presentation and dismissal.