Close Button in Option Dialog now working