Connector related to the TAKE operation and not to the Submit one in a task

Good morning
When i use a connector out for example, that connector is related to the Submit operation in the workflow. I want to know if it is possible to relate a connector to the TAKE operation, that comes before the Submit one.
Thank you very much.

Submit a form in a modal

I'm using Bonita Community Edition, Version : 7.8.4.
I want to add modal after submitting form. Usually I'm using jQuery but in UI Desinger I cant use jQuery function. ($ in jquery causes an error)
Is there any simple way for adding modal to submit button? (using jQuery or Angular)