Action listeners on buttons in AlgorithmDialogBox