deprecated warning should only be visible in debug mode
fixed an issue with multiple popups and diffenent types at the same time
Merge pull request #156 from unify/feature/infopopuphandling

deprecated warning should only be visible in debug mode