Merge pull request #59 from erram/7.x-1.x

Record modal fix