select modal hooked up using modal directive