correct markup dialog