Hallo Thomas!
Is there any problem in just using [closebang] ? (as e.g. in the patch here http://www.mail-archive.com/pd-dev@iem.at/msg00174.html, or I don't know if someone else already made such an external)
As you describe the behaviour of your object IMHO it sounds not very consistent and would possibly introduce bugs in patches ...
LG Georg