working version of modal with locals injected.
simplified version.
added dependent destroy to user models to destroy votes and account.
fixed a bug that clicking on the vote button triggered the modal.