Nice implementation using z-index for nested dialog.