Yes/No dialog box when I rename Main Account name in Main account Form

I’m okay with this code can you give me a solution for the above condition please?