Added trigger of event on New File dialog open