modal directive added, modal closable configured properly