Remove from window on dismiss