dismissWhenDone

open fun dismissWhenDone()