Adding an option to be able to provide classes to popup urls via options array