working save_and_open_page