Changed ways of building static Dialog

Changed ways of building static Dialog; made Confirm and Alert Dialog
always be on top scene.