committing new rules
Modal service to control showing and hiding modals. Todo explains my concerns.