Environment added validation for adding statement (for nothing selected)