add properties panel for text resource