Edit and View Dialogs Functionality Done.