add-modal post method