Shrinks the height of the warning dialog.
Adds a new parameter 'g' if it is included in the state parameter.