Doc edit UI and insert form clear