Add 'Open' funciton in editor dialog