Fixes broken add folder modal