andular-based code editor dialog