Finished functionality for status reply

Currently there is a weird bug that occurs infrequently. The modalInstance is not being injected properly. When starting the page, occasionally an error saying that the modalInstance was not injected is displayed, however, this modalInstance is usable (i.e. modalInstance.close closes the modalInstance that was supposedly not injected). Occasionally, when replying, an error occurs because the modalInstance is undefined.