convert other modal components to use a base modal class