clean up of popup_view
- stripped html code out of php code