Added working opening dialog