we've got response from controller for a simple image type
some name fixes and show form in popup
javascript for simple upload implemented
image uri and url passed to the parent hidden field. Modal window and session removed