use the same view for 'add action' and 'edit action'