Fixed additional asserts on div.modal