Bug - Midi Controlled Toggle Transform command does not work.

this is a key command, that is midi learnable. It only opens the window, when it is assigned, does not close it. This is what the toggle is supposed to do. It works like the "Open Transform" key command (apple-4).

I am running 10.4.11, Dual 2 Ghz Power PC G5, 11 GB DDR2 SDRAM. Logic is 8.0.2. Running a Digi 003 through coreaudio. M-Audio Keystation Pro 88. 3rd party plugins include Waves diamond bundle (newest Version) Kompakt 2(newest), Synthogy Ivory, Stylus RMX.