The Machine Design Settings dialog has a G28 (move tool post home) Before Tool Change option. Select this option to enable it (a check mark displays to the left of the menu item when it is enabled). This option outputs a G28 to move the tool to tool post home before changing the tool.
Select Machine Design tab > Options panel > Settings to display the Machine Design Settings dialog.