Close New Resource dialog when using a Wizard