hide plugin on background click