puts contract form into a new dialog window