Section validation and key events handling