> it is checking for the hidden option alongside with modified. We can do that as well.

Agreed, that makes sense.