help dialogs datapack idk why not working

I've been trying to do a team selection gui but the command doesn't execute when you click on it

Continue to help post