Minor tweaks to the custom modal sample to remove dependencies on jQuery and make things more angular-ish