remove useless modal directive