registration open/close window in autoform, helps #38