Refactored dialog listeners.
Refactored dialog listeners.
updated gitignore
Merge branch 'develop'
merged master