Add default UI behaviour to rename.
Merge pull request #577 from mgsdk/change_rename_default_actions

Add default UI behaviour to rename dialog.