edit mode infomation in dialog, add method to compare difference between
list of modes