adding click events
adding more dialogs and refining services and sharing data