Refactor org-dp-prompt.