refactored delivery and contact modals into views