added iframe support for documents