Web browser cancel button does not show - only a blank top bar

How to get the cancel button to actually show when using open web browser and setting cancel button required to true?