Fix a bug where when showing a note without a password it wouldn't get destroyed. Moved logic on "Show" button.
Click show:
- decrypt succeeds without custom password = trigger ajax for delete
- if not, show password input, if decrypt works with custom password = trigger ajax for delete
At first the logic for delete was serverside happening right before returning the response, but after consideration for user experience it was moved in ajax ( eg: a user opens by mistake, was not ready, etc )