sample editor app with open/close done