Fix dialog to work with Refinerycms 2.1.2

The selected tab class changed on one of the latest refinerycsm versions