Urgent: Adding "Create button" within popup window

Is There any way to add a create butto within popup window of module
like account module:

when open new case (as module X), then click on account name (as module Z) the popup of account appear, and find “create button” to add new account.

so, i need to add this button for popup window in (module X " like cases") to show me window of module Z ( like account module), so if i click on new button the new record of module Z (like account) has been created.

this Question has been asked more than a year, but no answered on:

This is obviously possible, but it is not simple, and not something that can be explained as a simple forum answer. This would require an elaborate coding tutorial.

The best option you have is to try and copy the solution from some place in SuiteCRM where this already happens.