fix objective window, fully working save_prompt

I'm still not sure if I really understand the struct pack settings in the original binary, but this setting seem to work so far. The other commit completes the save_prompt, it can actually call the save dialog now.