mw.ViewPageTarget: Clear slide history when closing the save dialog

Bug: 49481
Change-Id: I297a7d1458e5a1c33b9dcb85272fe5f40893dd88