refactored the creation modal into its own class