Modal window cleanup.
Modal window cleanup.