added index link and corrected modal problem