Remove redundant portion of leave-page dialog