added selectedId option for list
clear subform data before cancel
enum is reserved