Maximizes popup.
max()
Description
The popup must exists. The method maximizes the popup and triggers onMax event
If popup was already maximized, no action will be taken. It will aslo change maximized
property of popup options to true.
To maximize popup: