[RR-06] Creating template for modals. (avoid code duplication)