Fix document stack.

We need to add document to stack by using 'push' method instead of 'add'
method.

BUG=26437613

Change-Id: I3e4ac6b0d03cacbe2d6cdd93443ce1c96c8c47d9
2 files changed