NXP-14752: fixing bug in drag and drop where the doc has no session in postcommit