the second dialogue open before first dialog close.... then, when first dialogue close remove the overlay for first and second dialogue..... if you put the second dialogue inside setTimeout it work, example

I don't know how @olton can fix it inside Metro, but happend with dialogues and activity overlays and any metro component with overlay div