Pooja/Dileep | #3357 | Introducing dirty dialog and disabling save in case of errors