test of modal_window