Add dialog to edit direction sequence
Add function to newly added dialog, now can edit the direction sequence