Fixes #56 closeAction should use once and memory option