Unlike V+(으)려고, (으)려고 하다 completes the sentence clause.
When (으)려고 하다 modifies a noun and becomes (으)려고 하는, it is often shortened to 려는.