Add check for active region

These commands shouldn't fold anything if there isn't active region when called interactively.