She thanks them for saving her life when she almost fell over a rail. They stole the Necronomicon to defeat Jones, who plans on taking over the world by unleashing Belial, a demon.
The woman is grateful for being saved from a near-fatal fall and the group's actions are driven by their desire to stop Jones, who intends to unleash Belial, a demon, upon the world.