fixed tests after change of modal-dialog