moved modal to own controller