Handles page RecordNotFound for optional sidebar