keyboard handlers
keyboard: properly restore state back to not .active