Implements switching between uploaded resources in modal