Fixes WFE-1246. Set maximum upload size to 50MB, show feedback if a file
is too large, allow to close the modal afterwards.