Bug Fix: #4362 Adding index to column by button in structure view shows wrong dialog.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Merge pull request #1138 from ashutoshdhundhara/bugfix_4362

Bug Fix: #4362 Adding index to column by button in structure view shows wrong dialog.