Fixed broken "saveas" option