fix #5418757083608 dialog positioning correctly in iframe depending if s...

...crolling or not