removing require for openDialog when it was not used