Allow overriding default dialog z index in order to show dialogs on top of editor dialog