added validations for using same dialogue for wizard and view actions, also checked for existing names or keys
Authored by: samantprajakta 2013-06-26
Parent: [r914]
Child: [r916]