JBIDE-16326 Generate new content in NewPopup wizard for JQM 1.4

Code for open/close buttons is modified.
Arrow checkbox is added.
Tests are added.