trying fix open dialog