made inlineModal JS more universal, removed LoadGallery and switched to inlineModal.