Added ability to define extra class to .popup