fix file upload not working in message config
change message config import to use id from imported file

When importing a message configuration, the currently edited message is
not overwritten but saved before importing. The message id from the
imported file is used and only changed if it is not unique.