controlbox behaviour