moved modal to widjet