add doc modal and auto add to jurisdiction