CJuiDialog to create new model

Comparing #4 with #6

Title

CJuiDialog forto create new model

Content

[...]
If you use this system in the form for student, you can return, for example, the id of the newly inserted classroom and select it automatically in a drop down list.

Summary
------------------

ForTo make a long story short:

- Prepare the usual creation with gii generated code
- Change the action create for answer to Ajax requests
- Place the link/dialog/js wherever you want.
[...]