Adding method to set the modal width on the modal.