Kiran | #948 | Refactored dialog fragment to remove the switch case that was needed when opening it and when handling a option selection.