move toggle modal to modal.flagr.coffee