Support |popup| options
Support |popup| options

Specifically, |wide| makes a wide popup, suitable for modlog results.
And |modal| makes a modal popup, currently only used for locks and
bans, to make sure they're not accidentally dismissed.

sirDonovan/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,submindraikou/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,panpawn/Gold-Client,QuiteQuiet/Pokemon-Showdown-Client,panpawn/Gold-Client,sirDonovan/Pokemon-Showdown-Client,submindraikou/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,submindraikou/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,panpawn/Gold-Client