Need Help with Dialogue Manager

Godot Version

4.3

Question

I want that My character cant move when the dialogue is running and I wrote this and its working:

if Input.is_action_just_pressed("E"):
		if detectplr == "tom":
			DialogueManager.show_dialogue_balloon(load("res://Dialog/dialogue.dialogue"), "this_is_a_node_title")
			plrmove.scene_move = false
			e.hide()
			return

If the plrmove.scene_move is false then the player cant move. But now idk how to turn it back to true when the dialogue ended… Pls help me