Heh, I tried first with basic app and indeed it works as it should. I found that was all my fault...I've added z-index to dialog, so only first level was working...
So the solution is:
If we need to add z-index to dialog, we also need to add THE SAME z-index to div.dialog_mask if we want to keep described behaviour.
Thanks for replies :)
For best results, use the Firefox browser..