How Can I Make My HTML Close Button Function in a Dialog Box