refine data creation/edition modal. work in progress.