added print and modal example