add option to set the modal size, which corresponds to the right bootstrap css styles on the modal dialog