fixed bug, pressing cancel when adding new weapon doesn't add it now