shorten some "if _ != nil"s
SBSavePanel/SBOpenPanel