I am trying to achieve this functionality of opening up modal dialog when I am on a lookup field.
Step 1: Go to a lookup field
Step 2: Click the search icon and at the bottom of the drop down, select the "New record"
Step3: Currently it opens up a quick create form
I want the main form to open up in modal dialog.
Additional Information:
Currently I am able able to open a Modal dialog (Main form in read only) through java script when I click on any specific record displayed by the lookup. But as I said earlier, I want the same functionality when I try to create a new record.