Add hasDialog and getDialog methods to editor overlay