Added code to select maximum deal number + 1 is selected on creation of new deal