Changed the logic here a bit, this class will be extended by other which represent the specific modals and those classes will pass the root element to this one