Amended messagebox to use Form() class