Add message views, stores, constants, and actions.

could you use the closeEditForm method for componentWillReceiveProps and getInitialState