Modal working for porfoltio gallery