Change opendialogedit and remove function to be use in the table row.