moved modal to top