add a function to add a spacer to the Dock