Locks screen behind the popup
|object, optional, options for the popup
This method is used internally to lock the screen behind the popup so that the user cannot interact with it. It is possible to use this method
to lock the screen without displaying popup.
Simple lock (user can unlock)
Modal lock (user cannot unlock)
OR you can also lock screen and display a popup