Refactor modals to use generic modal class