New patch for feature request 1518

There were certain problems with previous patch I sent for this request. It was working against expected behaviors in certain operations:
with this new patch: every reported issues have been fixed, **it works well with** `import/export`, `operations section`, `create table`, I have changed the algo, **confirm navigation dialog is now triggered if user has made changes to input values, not if those input values just have some content**

**it takes care if upon user action, input value is ` ` i.e `empty`, no dialog is triggered**

Signed-off-by: A V Minhaz <minhazav@gmail.com>