custom markup dialog