Overwrite event() to handle <Tab> events