* Fixes NB#86793, don't loose modality after the close of the old modal window