After editing a step and if clicked on close button without saving changes, it would be great to have a warning message before it discards the changes made.