clicking card opens modal