Fixed preservation of the modified data for the columns from the table dialog

Reported by Jasmine Liu, Patch from Sanket Mehta, Reviewed by Akshay Joshi