You can not tee into pressure lines, only the return.
That valve could go before the loader valve, or after.
I believe I would use a motor spool valve, and the connections would be easier , and you would have reverse for the hyd motor.
It depends where you put the valve, as to how the rest of the hyd system will operate. If the source of the motor fluid is upstream, the hyd motor will use all or most of the hyd fluid, and the rest of the system will get none. If you add it after the loader valve, then the loader operation will decrease flow to the hyd motor when used. So it really depends on how important the hyd motor attachment is to the operation of the hyd system. .
One other thing, will the motor operate at max speed or do you have plans for varying the speed of the motor?
Does your loader have PB?