I can't say for sure, so i'll ask it as a question
I have an @window open with a menu and in the menu is /window -c @window
which closes it fine, but i added an fkey alias

alias f3 { /window -c @window }

and that won't close it, any reason why?