open text element on image click