Cannot load ctools automodal associated menu call from another module
I think you need specific class for your link to be preprocessed as a modal link (but i don't know the 'automodal' feature so maybe im wrong)