added support for custom width and height to be specified at launch of the modal view