@leocg I had run an anti-virus and cleaned some other problems too but i also discovered the cause of the problem. Which is not related to the browser or at least not directly. It was a website that i am using that was having pop up ad system which normally always blocked by Opera but seems they either changed something or my Opera got lazy so it started to show itself. Added it to the adblock list as an extra measure which now closes the pop up easily. Though why it didn't before i do not know. Anyway thank you for helping me.