create modals for code readability