Remove modal directive