edit task modal and layout