Close button closes dialog