moved modal to footer