Refactor remove activities

removed DialogTools activity
refactor Dialog to singleton pattern