Moved some parameters from trigger's attributes to view object
Changed _open() method to public open() method, and putted out the trigger event for open()
Cleaned up some discarded codes that are commented out