Adding <dialog> support.