Minor Fix

Bug:
* open any module in "iframe" mode which has a "create" link
* open "create" link 
* open any link to "create" in the form.(S3AddResourceLink)
* fill the form and save.
* form popup doesn't close.