Add handler and vars section for Dock