Changed modal behavior