Fixed edit_modal; about to restart on permalink stuff