Handle Save Button Click properly in GM Script