add dialog service for controller