Rely on Bootstrap opening the "discard changes" modal in the Web IDE

The modal when leaving edit mode in the Web IDE maintains its state (visible or hidden) in the Vuex store. After https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16189 has been merged, the same is possible via data attributes (or jQuery if necessary).

Assignee Loading
Time tracking Loading