fix pickDocsInTree for modx 1.0.10
fix ajax-action