update the message of confirm navigation dialog