edit and inspect dom